-- GENERATED SPELL FOR [Crusader Jonathan] --


function spell0_28136(pUnit, Event) --@Bleeding Out,Self--
pUnit:FullCastSpellOnTarget(50665,pUnit)
pUnit:RegisterEvent('Sorts_28136', 640, 1)
end

function Sorts_28136(pUnit, Event)
local choix_sorts_28136 = math.random(0, 0)
if choix_sorts_28136 == 0 then
pUnit:RegisterEvent('spell0_28136', 1, 1)
end
end

function mob28136_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28136', math.random(1500, 3000), 1)
end

function mob28136_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28136_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28136_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28136, 1, 'mob28136_Action')
RegisterUnitEvent(28136, 2, 'mob28136_Leave')
RegisterUnitEvent(28136, 3, 'mob28136_Kill')
RegisterUnitEvent(28136, 4, 'mob28136_Die')
